package homework.two;

public class Score {
    private long number;
    private String course;
    private int result;

    public Score(long number, String course, int result){
        this.number = number;
        this.course = course;
        this.result = result;
    }

    public long getNumber() {
        return number;
    }

    public void setNumber(long number) {
        this.number = number;
    }

    public String getCourse() {
        return course;
    }

    public void setCourse(String course) {
        this.course = course;
    }

    public int getResult() {
        return result;
    }

    public void setResult(int result) {
        this.result = result;
    }

    @Override
    public String toString() {
        return "Score{" +
                "number=" + number +
                ", course='" + course + '\'' +
                ", result='" + result + '\'' +
                '}';
    }
}
